//
//  UserAPI.swift
//  CMCCIOTSwift
//
//  Created by isoftstone on 2017/4/20.
//  Copyright © 2017年 isoftstone. All rights reserved.
//

import Foundation

class RequestProtocol : RequestBaseProtocol{
    public var baseURL: NSURL{
        return NSURL(string: "https://rxswift.leanapp.cn")!
    }
    public var path: String {
        return "/users"
        
    }
    public var method: Method {
        return .get
    }
    public var parameters: [String: AnyObject]? {
        
        return nil
    }
    public var encoding: EncodingType {
        return JSONEncoding.default
        
    }
    public var headers: [String : String]? {
        return nil
    }

}



